package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.OrderSyncCmdExample;
import com.ymttest.database.sharding.db.sharding.model.OrderSyncCmdPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderSyncCmdMapper {
    int countByExample(OrderSyncCmdExample example);

    int deleteByExample(OrderSyncCmdExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderSyncCmdPo record);

    int insertSelective(OrderSyncCmdPo record);

    List<OrderSyncCmdPo> selectByExample(OrderSyncCmdExample example);

    OrderSyncCmdPo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrderSyncCmdPo record, @Param("example") OrderSyncCmdExample example);

    int updateByExample(@Param("record") OrderSyncCmdPo record, @Param("example") OrderSyncCmdExample example);

    int updateByPrimaryKeySelective(OrderSyncCmdPo record);

    int updateByPrimaryKey(OrderSyncCmdPo record);
}